package book;

//concrete book
public class ConcreteBook implements Book
{
	private BookS book;
	
	public ConcreteBook(BookS book)
	{
		this.book = book;
	}
	
	public BookName returnBooksName() {return new BookNameFormat1(book.bookName);}
	public AuthorName returnBooksAuthor() {return new AuthorNameFormat1(book.authorName);}
	public Year returnPublishingYear() {return new YearFormat1(book.year);}
	public Version returnVersion() {return new VersionFormat1(book.version); }
	public ISBN returnISBN() {return new ISBNFormat1(book.isbn);}
	
}
